
import java.io.PrintWriter;

class ArgList extends Node {
	private String name_;
	private Node arg_list_;

	public ArgList(String n, Node al) {
		name_ = n;
		arg_list_ = al;
	}

	public ArgList(String n) {
		name_ = n;
	}

	@Override
	public void print(PrintWriter pw) {
		pw.println("Node name : ArgList");
		pw.println("Argument name : " + name_);
		if (arg_list_ != null) {
			arg_list_.print(pw);
		}
	}
}